//
//  ViewController.m
//  AFNetworkingTest
//
//  Created by zhuyuming on 15/8/18.
//  Copyright (c) 2015年 zhuyuming. All rights reserved.
//

#import "ViewController.h"
#import "JsonRequestByAFNetworking.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    

    NSDictionary *parameters = @{@"username":@"yuming.zhu",@"password":@"ele.me4551"};
    //你的接口地址
    NSString *url=@"http://127.0.0.1:8080/act/user/login";
    
    JsonRequestByAFNetworking *jrb=[[JsonRequestByAFNetworking alloc] init];
    NSString *resnsstring= [jrb getJsonByUrl:url Paramets:parameters];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
